package com.cjack.frenchexcel.exception;

import com.cjack.frenchexcel.config.ErrorCodeDefine;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class DataErrorException extends Exception {
    private static final long serialVersionUID = -2701706161296801677L;
    private Integer code = ErrorCodeDefine.DATA_ERROR;
    private String message = ErrorCodeDefine.DATA_ERROR_MSG;
}
